package com.qq.first_project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qq.first_project.entity.Resources;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qq.first_project.entity.vo.ResourcesVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Qiu
 * @since 2023-02-09
 */
public interface ResourcesService extends IService<Resources> {
    // 管理端
    IPage<ResourcesVo> selectPageVo(Page<ResourcesVo> page, String name);

    // 客户端
    List<ResourcesVo> selectAll();
}
